<%--
  Created by IntelliJ IDEA.
  User: sunhao
  Date: 2014-11-27
  Time: 16:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%
    request.setAttribute("contextPath", request.getContextPath());
%>
<html>
<head>
<title>Update User</title>
</head>
<body>
	<a href="javaScript:history.go(-1)">返回</a>
	<br/><br/>
	<form action="${contextPath }/admin/update" method="post">
	    <input type="hidden" value="${user.userId }" name="userId"/>
	    <input type="hidden" value="${user.userName }" name="userName"/>
		<table width="80%" border="1">
			<tr>
				<td width="20%">userId</td>
				<td width="80%">${user.userId }</td>
			</tr>
			<tr>
	            <td>userName</td>
	            <td>${user.userName }</td>
	        </tr>
	        <tr>
	            <td>password</td>
	            <td><input type="text" value="${user.password }" name="password"/></td>
	        </tr>
		</table>
		<br/>
        <input type="submit" value="Update"/>
        <input type="reset" value="Reset"/>
	</form>
</body>
</html>
